package com.zhen.aikan.service;

import com.zhen.aikan.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhen.aikan.vo.UserVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lijiazhen
 * @since 2023-09-11
 */
public interface IUserService extends IService<User> {

    boolean existId(String id);

    boolean existEmail(String email);

    boolean register(User user);

    boolean retrievePassword(UserVo userVo);

    boolean updateUser(User user,String token);
}
